package com.youbo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: macy
 * @Email: 420534221@qq.com
 * @Date: 2020/10/19
 * @describe:
 */

@Data
@ApiModel(value = "绑定所需参数")
public class BindCardForm {


    @ApiModelProperty(value = "hospitalId")
    private String hospitalId;


    @ApiModelProperty(value = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "原就诊卡号")
    @NotBlank(message = "原就诊卡号不能为空")
    private String oldMedicalCardNumber;

    @ApiModelProperty(value = "新就诊卡号")
    @NotBlank(message = "新就诊卡号不能为空")
    private String newMedicalCardNumber;

}
